@(projectForm: Form[Project])
@import helper._

<div class="projectadd">
	<div class="popupheader">
		<div class="title">New Project</div>
		<div id="closeproject" class="close" style="background-image:url('@routes.Assets.at("images/close.png")')"></div>
	</div>
	<div class="popupbody">
		@form(routes.Projects.save()) {
        	
        	@inputText(projectForm("id"))
        	@inputText(projectForm("name"))
        	@inputText(projectForm("decription")) 
        	
        	<input type="submit" value="Save">
        	<input id="cancelproject" type="button" value="Cancel">
    	}
	</div>
</div>

<script type="text/javascript" >
	$('#closeproject').click(function(e) {
		$('#popup').css('visibility', 'hidden');
	});
	$('#cancelproject').click(function(e) {
		$('#popup').css('visibility', 'hidden');
	});	
</script>